import React, { Component } from "react";
import { View, Button, Text } from "@tarojs/components";
import { observer, inject } from "mobx-react";
import { LoginCard } from "../../components/login-card";

import "./index.scss";
import { RootStore } from "../../../src/store/root-store";

interface Index {
  props: { rootStore: RootStore };
}

@inject("rootStore")
@observer
class Index extends Component {
  componentWillMount() {}

  componentDidMount() {}

  componentWillUnmount() {}

  componentDidShow() {}

  componentDidHide() {}

  render() {
    return (
      <View className="check-login">
        <LoginCard onLogin={console.log} />
      </View>
    );
  }
}

export default Index;
